Optimal. Leaf size=83 \[ \frac{\tan (c+d x)}{5 d \left (a^3 \sec (c+d x)+a^3\right )}+\frac{\tan (c+d x)}{5 a d (a \sec (c+d x)+a)^2}-\frac{\tan (c+d x)}{5 d (a \sec (c+d x)+a)^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0967388, antiderivative size = 83, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3797, 3796, 3794} \[ \frac{\tan (c+d x)}{5 d \left (a^3 \sec (c+d x)+a^3\right )}+\frac{\tan (c+d x)}{5 a d (a \sec (c+d x)+a)^2}-\frac{\tan (c+d x)}{5 d (a \sec (c+d x)+a)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3797
Rule 3796
Rule 3794
Rubi steps
\begin{align*} \int \frac{\sec ^2(c+d x)}{(a+a \sec (c+d x))^3} \, dx &=-\frac{\tan (c+d x)}{5 d (a+a \sec (c+d x))^3}+\frac{3 \int \frac{\sec (c+d x)}{(a+a \sec (c+d x))^2} \, dx}{5 a}\\ &=-\frac{\tan (c+d x)}{5 d (a+a \sec (c+d x))^3}+\frac{\tan (c+d x)}{5 a d (a+a \sec (c+d x))^2}+\frac{\int \frac{\sec (c+d x)}{a+a \sec (c+d x)} \, dx}{5 a^2}\\ &=-\frac{\tan (c+d x)}{5 d (a+a \sec (c+d x))^3}+\frac{\tan (c+d x)}{5 a d (a+a \sec (c+d x))^2}+\frac{\tan (c+d x)}{5 d \left (a^3+a^3 \sec (c+d x)\right )}\\ \end{align*}
Mathematica [A] time = 0.159927, size = 71, normalized size = 0.86 \[ \frac{\sec \left (\frac{c}{2}\right ) \left (-5 \sin \left (c+\frac{d x}{2}\right )+5 \sin \left (c+\frac{3 d x}{2}\right )+\sin \left (2 c+\frac{5 d x}{2}\right )+5 \sin \left (\frac{d x}{2}\right )\right ) \sec ^5\left (\frac{1}{2} (c+d x)\right )}{80 a^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.031, size = 32, normalized size = 0.4 \begin{align*}{\frac{1}{4\,d{a}^{3}} \left ( -{\frac{1}{5} \left ( \tan \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) ^{5}}+\tan \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.16613, size = 63, normalized size = 0.76 \begin{align*} \frac{\frac{5 \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac{\sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}}}{20 \, a^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.59893, size = 182, normalized size = 2.19 \begin{align*} \frac{{\left (\cos \left (d x + c\right )^{2} + 3 \, \cos \left (d x + c\right ) + 1\right )} \sin \left (d x + c\right )}{5 \,{\left (a^{3} d \cos \left (d x + c\right )^{3} + 3 \, a^{3} d \cos \left (d x + c\right )^{2} + 3 \, a^{3} d \cos \left (d x + c\right ) + a^{3} d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{\sec ^{2}{\left (c + d x \right )}}{\sec ^{3}{\left (c + d x \right )} + 3 \sec ^{2}{\left (c + d x \right )} + 3 \sec{\left (c + d x \right )} + 1}\, dx}{a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.39828, size = 42, normalized size = 0.51 \begin{align*} -\frac{\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{5} - 5 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )}{20 \, a^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]